<template>
    <div id="app">
        <m-header @handle-search="goSearch"></m-header>
        <m-nav></m-nav>
        <keep-alive>
            <router-view/>
        </keep-alive>
        <player></player>
    </div>
</template>

<script>
import MNav from 'components/nav/nav'
import MHeader from 'components/header/header'
import Player from 'components/player/player'
export default {
    name: 'App',
    data(){
        return{
           
        }
    },
    methods:{
        goSearch(){
            this.$router.push('/search')
        }
    },
    components: {
        MNav,
        MHeader,
        Player
    }
}
</script>

<style lang="less" scoped>

</style>
